package com.usian.dept.service.impl;

import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
import com.usian.common.pojo.Dept;
import com.usian.dept.mapper.DeptMapper;
import com.usian.dept.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @TODO:
 * @Author:baimu
 * @Date:2024 07 02 10 41
 **/

@Service
public class DeptServiceImpl implements DeptService {

    @Autowired
    DeptMapper deptMapper;
    @Override
    public List<Dept> findAll() {
        return deptMapper.findAll();
    }
}
